<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style type="text/css">
            .tb{
                margin: 0px auto;
                border: 1px solid #00ccff;
            }
            .tb_1{
                background-color: #66ffff;
                text-align: center;
            }
            .tb_2 {
                text-align: center;
            }
        </style>
    </head>
    <body>
        <table class="tb" width="820" border='1'cellspacing="0" cellpadding="10" >
  <tbody>
      <tr class="tb_1">
      <td width="40">ID</td>
      <td width="100">姓名</td>
      <td width="100">所属部门</td>
      <td width="80">头像</td>
      <td width="200">出生日期</td>
      <td width="200">入职时间</td>
      <td width="100">相关操作</td>
    </tr>
    <?php
      foreach($rows as $row ) 
      {
    ?>
    <tr class="tb_2">
      <td><?php echo $row["e_id"]  ?></td>
      <td><?php echo $row["e_name"]  ?></td>
      <td><?php echo $row["e_dept"]  ?></td>
      <td><img src= '<?php echo $row["e_img"]  ?>' alt="" /></td>
      <td><?php echo $row["date_of_birth"]  ?></td>
      <td><?php echo $row["date_of_entry"]  ?></td>
      <td>编辑 删除</td>
    </tr>
    <?php  
        }
    ?>
  </tbody>
</table>
    </body>
</html>